package v1

type CreateArticleRequest struct {
	Title   string `json:"title" binding:"required" `
	Content string `json:"content" binding:"required"`
	UserId  uint   `json:"userid" binding:"required"`
	Tags    []uint `json:"tags" binding:"required"`
}
type ReadArticleReponse struct {
	ID       uint     `json:"id"`
	Title    string   `json:"title" `
	Content  string   `json:"content" `
	UserId   uint     `json:"userid" `
	UserName string   `json:"username"`
	Tags     []string `json:"tags" `
}
